Platform Explorer / Nuxeo Platform 2021.7

Contribution org.nuxeo.ecm.platform.oauth1.directoryContrib--directories

This contribution is part of XML component org.nuxeo.ecm.platform.oauth1.directoryContrib inside nuxeo-platform-oauth1-2021.7.15.jar /OSGI-INF/directory-contrib.xml

Extension Point

Extension point directories of component GenericDirectory.

Registration Order

10
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <directory extends="template-directory" name="oauthConsumers">
          <schema>oauthConsumer</schema>
          <idField>consumerKey</idField>
          <types>
            <type>system</type>
          </types>
          <permissions>
            <permission name="Read">
              <group>__Nobody__</group>
            </permission>
          </permissions>
        </directory>
  • <directory extends="template-directory" name="oauthServiceProviders">
          <schema>oauthServiceProvider</schema>
          <idField>id</idField>
          <autoincrementIdField>true</autoincrementIdField>
          <substringMatchType>subfinal</substringMatchType>
          <types>
            <type>system</type>
          </types>
          <permissions>
            <permission name="Read">
              <group>__Nobody__</group>
            </permission>
          </permissions>
        </directory>
  • <directory extends="template-directory" name="oauthTokens">
          <schema>oauthToken</schema>
          <idField>token</idField>
          <types>
            <type>system</type>
          </types>
          <permissions>
            <permission name="Read">
              <group>__Nobody__</group>
            </permission>
          </permissions>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.GenericDirectory">

    <directory extends="template-directory" name="oauthConsumers">
      <schema>oauthConsumer</schema>
      <idField>consumerKey</idField>
      <types>
        <type>system</type>
      </types>
      <permissions>
        <permission name="Read">
          <group>__Nobody__</group>
        </permission>
      </permissions>
    </directory>

    <directory extends="template-directory" name="oauthServiceProviders">
      <schema>oauthServiceProvider</schema>
      <idField>id</idField>
      <autoincrementIdField>true</autoincrementIdField>
      <substringMatchType>subfinal</substringMatchType>
      <types>
        <type>system</type>
      </types>
      <permissions>
        <permission name="Read">
          <group>__Nobody__</group>
        </permission>
      </permissions>
    </directory>

    <directory extends="template-directory" name="oauthTokens">
      <schema>oauthToken</schema>
      <idField>token</idField>
      <types>
        <type>system</type>
      </types>
      <permissions>
        <permission name="Read">
          <group>__Nobody__</group>
        </permission>
      </permissions>
    </directory>

  </extension>